/**
 * 
 */
package com.ideeli.webextractor.context;

import org.apache.log4j.Logger;

/**
 * @author sa
 *
 */
public class StaticContext
{
	private static final Logger logger = Logger.getLogger(WebExatractorContext.class);
	
	private boolean homeRun;
	
	private StaticContext(){}
	
	private static class StaticContextHolder{
		public static final StaticContext staticContext= new StaticContext();
	}
	
	public static StaticContext getStaticContext()
	{
		logger.warn("getStaticContext");
		return StaticContextHolder.staticContext;
	}
	
	
	public boolean isHomeRun()
	{
		return homeRun;
	}

	public void setHomeRun(boolean homeRun)
	{
		this.homeRun = homeRun;
	}
	
	
	

}
